import React from 'react';
import styles from './index.less';

interface PageTilteProps {
  title?: string;
  right?: any;
}

const PageTilte: React.FC<PageTilteProps> = props => {
  return (
    <div className={styles.titlePage}>
      <div>{props?.title ?? ''}</div>
      <div>{props?.right ?? ''}</div>
    </div>
  );
};

export default PageTilte;
